<div class="row-fluid sortable">	
	<div class="box span6" style="width:100%">
		<div class="box-header well" data-original-title>
			<h2>订单列表</h2>
			<div class="box-icon">
			</div>
		</div>
		<div class="box-content">
			<table class="table table-bordered">
				  <thead>
					  <tr>
						  <th>订单编号</th>
						  <th>司机姓名</th>
						  <th>乘客姓名</th>
						  <th>订单时间</th>
						  <th>订单价格</th>
						  <th>订单说明</th>
						  <th>操作</th>
					  </tr>
				  </thead>   
				  <tbody>
		              <% if(page && page.data){ %>
						<%  page.data.forEach(function(orderform){ %>  
							<tr id="<%=orderform.id %>">
								<td><%=orderform.code %></td>
								<td><%=orderform.driverName %></td>
								<td><%=orderform.userName %></td>
								<td><%=orderform.createdate %></td>
								<td><%=orderform.price %></td>
								<td><%=orderform.remark %></td>
								<td><a class="btn btn-success" href="<%=server.site%>admin/orderform/orderform_detail/<%=orderform.id %>">
										订单详情
									</a>
								</td>
							</tr>
						<% }) %>
					  <% } %>         
				  </tbody>
			 </table>  
			 <form  id="pageform" action="<%=server.site%>admin/orderform/orderform_list" method="post">
			 	<%- include ../../common/page.ejs %>
			 </form> 
		</div>
	</div>
</div>
